
body{
	background:silver;
}

#nav{
	list-style:none;
	font-weight:bold;
	margin-bottom:10px;

	float:left;
	width:100%;
	position:relative;
	z-index:5;

}
#nav li{
	float:left;
	
	margin-right:5px;
	position:relative;
}
#nav a{
	display:block;
	padding:5px;
	color:#fff;
	background:black;
	text-decoration:none;
}
#nav a:hover{
	color:#fff;
	background:red; 
	text-decoration:none;
}

/*--- DROPDOWN ---*/
#nav ul{
	color: black;
	background:silver; 
	list-style-type:none;
	position:absolute;
	left:-9999px; 
}
#nav ul li{
	margin-left:-2em;
	padding-top:1px;
	padding-left:0px;
	float:none;
}
#nav ul a{
	white-space:nowrap; 
}
#nav li:hover ul{ 
	left:0; 
}
#nav li:hover a{ 
	background:black;
	text-decoration:underline;
}
#nav li:hover ul a{ 
	text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background:red;
}